This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: NotesSQL Error - The driver doesn't support the version of ODBC behavior that the application requested. ~Fritz Frohipilyflar 16.Jan.04 07:28 AM a Web browser General All ReleasesAll Platforms
Ronald, this is the exact code i'm using. I must be doing something wrong because nothing gets logged in any of the log files. Will try again and let you know. This same code works in a windows application.
imports System.Data.Odbc
Dim OdbcQuery As String = "SELECT * FROM Person"
Dim OdbcCon As New OdbcConnection("DSN=Test")
Dim OdbcCmd As OdbcCommand
OdbcCmd = New OdbcCommand(OdbcQuery, OdbcCon)
OdbcCon.Open() (This is where it fails...)
Dim OdbcDr As OdbcDataReader
OdbcDr = OdbcCmd.ExecuteReader